<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>

  <link rel="stylesheet" href="../../常用样式/common.css">
  <style>
    .product{
      width: 500px;
    }
    .list{
      width: 100%;
    }
    .item{
      float: left;
      display: flex;
      justify-content: center;
      align-items: center;
      width: 50%;
      overflow: hidden;
      box-sizing: border-box;
      padding: 5px;
      position: relative;
    }
    .item img{
      width: 100%;
    }
    .item p{
      text-align: center;
      position: absolute;
      font-weight: bold;
      font-size: 20px;
      color: #fff;
    }
  </style>
</head>
<body>
  <!-- pc端 -->
  <!-- <div class="product">
    <ul class="list clearfix">
      <li class="item">
        <img src="https://img.xiaohucloud.com/res/100511/2021/05/07/100511-ROoTDv.jpg" alt="">
        <p>美妆洗护</p>
      </li>
      <li class="item">
        <img src="https://img.xiaohucloud.com/res/100511/2021/05/07/100511-TaGpOu.jpg" alt="">
        <p>食品</p>
      </li>
      <li class="item">
        <img src="https://img.xiaohucloud.com/res/100511/2021/05/07/100511-vupbpI.jpg" alt="">
        <p>玩具</p>
      </li>
      <li class="item">
        <img src="https://img.xiaohucloud.com/res/100511/2021/05/07/100511-NUDfHA.jpg" alt="">
        <p>3C</p>
      </li>
    </ul>
  </div> -->
  <!-- 移动端 -->
  <div class="product">
    <ul class="list clearfix">
      <li class="item">
        <img src="https://img.xiaohucloud.com/res/100511/2021/05/19/100511-XxZCgW.png" alt="">
        <p>美妆洗护</p>
      </li>
      <li class="item">
        <img src="https://img.xiaohucloud.com/res/100511/2021/05/19/100511-lHrQNy.png" alt="">
        <p>食品</p>
      </li>
      <li class="item">
        <img src="https://img.xiaohucloud.com/res/100511/2021/05/19/100511-hKIQLh.png" alt="">
        <p>玩具</p>
      </li>
      <li class="item">
        <img src="https://img.xiaohucloud.com/res/100511/2021/05/19/100511-bmPzkS.png" alt="">
        <p>3C</p>
      </li>
    </ul>
  </div>
</body>
</html>